package com.crazymaker.springcloud.user.info.remote.fallback;


import com.crazymaker.springcloud.common.dto.UserDTO;
import com.crazymaker.springcloud.common.result.RestOut;
import com.crazymaker.springcloud.user.info.remote.client.UserServiceClient;
import org.springframework.stereotype.Component;

@Component
public class UserServiceClientHystrix implements UserServiceClient
{


    @Override
    public RestOut<UserDTO> getUser(String id)
    {
        return RestOut.error("服务调用失败" );
    }


}
